<template>
    <view class="my-search-container">
        <view class="my-search-box">
            <uni-icons type="search" size="30"></uni-icons>
            <text class="placeholder">搜索</text>
        </view>
    </view>
</template>

<script>
    export default {
        name:"my-search",
        data() {
            return {
                
            };
        }
    }
</script>

<style lang="scss">
    .my-search-container {
        height: 50rpx;
        background-color: #C00000;
        display: flex;
        align-items: center;
        .my-search-box {
            height: 36rpx;
            background-color: #FFFFFF;
            border-radius: 18rpx;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            .placeholder{
                font-size: 15rpx;
                margin-left: 5rpx;
            }
        }
    }

</style>